import request from '@/utils/request'

// 查询vue配置列表
export function listBiConfVueDwd(query) {
  return request({
    url: '/vue/BiConfVueDwd/list',
    method: 'get',
    params: query
  })
}

// 查询vue配置详细
export function getBiConfVueDwd(id) {
  return request({
    url: '/vue/BiConfVueDwd/' + id,
    method: 'get'
  })
}

// 新增vue配置
export function addBiConfVueDwd(data) {
  return request({
    url: '/vue/BiConfVueDwd',
    method: 'post',
    data: data
  })
}

// 修改vue配置
export function updateBiConfVueDwd(data) {
  return request({
    url: '/vue/BiConfVueDwd',
    method: 'put',
    data: data
  })
}

// 删除vue配置
export function delBiConfVueDwd(id) {
  return request({
    url: '/vue/BiConfVueDwd/' + id,
    method: 'delete'
  })
}
// 删除表一级信息
export function deleteMenu(tableId) {
  return request({
    url: '/vue/BiConfVueDwd/deleteMenu/' + tableId,
    method: 'post'
  })
}
// 删除表一级信息
export function createMenu(tableId) {
  return request({
    url: '/vue/BiConfVueDwd/createMenu/' + tableId,
    method: 'post'
  })
}